package com.bruce.rentHouse.service;

import com.bruce.rentHouse.dao.UserDao;
import com.bruce.rentHouse.entity.TUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by bruce on 18/8/31 -- 11:09
 */
@Service
public class UserService {

    @Autowired
    private UserDao UserDao;

    public List<TUser> getAllUser(String token) {
        return UserDao.getAllUser();
    }
}
